/*
 * @Descripttion: GGB
 * @version: 1.0
 * @Author: GGB
 * @Date: 2021-08-18 11:16:28
 * @LastEditors: GGB
 * @LastEditTime: 2021-08-18 11:18:18
 */
class BroadcasePlayingModel {
  String taskname;
  String filename;
  int volume;
  int duration;
  int currentTime;

  BroadcasePlayingModel(
      {this.taskname,
      this.filename,
      this.volume,
      this.duration,
      this.currentTime});

  BroadcasePlayingModel.fromJson(Map<String, dynamic> json) {
    taskname = json['taskname'];
    filename = json['filename'];
    volume = json['volume'];
    duration = json['duration'];
    currentTime = json['currentTime'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['taskname'] = this.taskname;
    data['filename'] = this.filename;
    data['volume'] = this.volume;
    data['duration'] = this.duration;
    data['currentTime'] = this.currentTime;
    return data;
  }
}

class BroadcaseTaskModel {
  String time;
  String taskname;
  String cover;
  String filename;
  bool status;

  BroadcaseTaskModel(
      {this.time, this.taskname, this.cover, this.filename, this.status});

  BroadcaseTaskModel.fromJson(Map<String, dynamic> json) {
    time = json['time'];
    taskname = json['taskname'];
    cover = json['cover'];
    filename = json['filename'];
    status = json['status'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['time'] = this.time;
    data['taskname'] = this.taskname;
    data['cover'] = this.cover;
    data['filename'] = this.filename;
    data['status'] = this.status;
    return data;
  }
}

class BroadcaseFileModel {
  String time;
  String taskname;
  String cover;
  String filename;
  bool status;

  BroadcaseFileModel(
      {this.time, this.taskname, this.cover, this.filename, this.status});

  BroadcaseFileModel.fromJson(Map<String, dynamic> json) {
    time = json['time'];
    taskname = json['taskname'];
    cover = json['cover'];
    filename = json['filename'];
    status = json['status'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['time'] = this.time;
    data['taskname'] = this.taskname;
    data['cover'] = this.cover;
    data['filename'] = this.filename;
    data['status'] = this.status;
    return data;
  }
}
